-- GENERATED SPELL FOR [Chimaera Matriarch] --


function spell0_6167(pUnit, Event) --@Corrosive Poison,n/a--
pUnit:FullCastSpellOnTarget(3396,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6167', 31500, 1)
end

function Sorts_6167(pUnit, Event)
local choix_sorts_6167 = math.random(0, 0)
if choix_sorts_6167 == 0 then
pUnit:RegisterEvent('spell0_6167', 1, 1)
end
end

function mob6167_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6167', math.random(1500, 3000), 1)
end

function mob6167_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6167_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6167_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6167, 1, 'mob6167_Action')
RegisterUnitEvent(6167, 2, 'mob6167_Leave')
RegisterUnitEvent(6167, 3, 'mob6167_Kill')
RegisterUnitEvent(6167, 4, 'mob6167_Die')
